namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 备份 - 出库订单从表
    /// </summary>
    public DbSet<POBakWmsOutOrderSummary> BakWmsOutOrderSummarys { get; set; }
}

/// <summary>
/// 备份 - 出库订单从表
/// 表[bak_wms_out_order_summary]
/// </summary>
[Table("bak_wms_out_order_summary")]
public class POBakWmsOutOrderSummary
{
    /// <summary>
    /// 主键[bak_wms_out_order_summary.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.master_id)]
    /// </summary>
    [Column("master_id")]
    public long? MasterId { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.summary_index)]
    /// </summary>
    [Column("summary_index")]
    public int? SummaryIndex { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.start_loc)]
    /// </summary>
    [Column("start_loc")]
    public long? StartLoc { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.target_loc)]
    /// </summary>
    [Column("target_loc")]
    public long? TargetLoc { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.material_id)]
    /// </summary>
    [Column("material_id")]
    public long? MaterialId { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.sku_batch)]
    /// </summary>
    [Column("sku_batch")]
    public string SkuBatch { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.plan_count)]
    /// </summary>
    [Column("plan_count")]
    public int? PlanCount { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.real_count)]
    /// </summary>
    [Column("real_count")]
    public int? RealCount { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.target_count)]
    /// </summary>
    [Column("target_count")]
    public int? TargetCount { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.finish_mode)]
    /// </summary>
    [Column("finish_mode")]
    public int? FinishMode { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.finish_time)]
    /// </summary>
    [Column("finish_time")]
    public DateTime? FinishTime { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.lock_guid)]
    /// </summary>
    [Column("lock_guid")]
    public long? LockGuid { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.lock_time)]
    /// </summary>
    [Column("lock_time")]
    public DateTime? LockTime { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 旋转角度
    /// [bak_wms_out_order_summary.rotate_angle)]
    /// </summary>
    [Column("rotate_angle", TypeName ="decimal(18,2)")]
    public decimal? RotateAngle { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.Serno)]
    /// </summary>
    [Column("Serno")]
    public string Serno { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.Safe)]
    /// </summary>
    [Column("Safe")]
    public int? Safe { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.remark_memo)]
    /// </summary>
    [Column("remark_memo")]
    public string RemarkMemo { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.stock)]
    /// </summary>
    [Column("stock")]
    public int? Stock { get; set; }
    /// <summary>
    /// 拆分前masterId
    /// [bak_wms_out_order_summary.split_masterId)]
    /// </summary>
    [Column("split_masterId")]
    public long? SplitMasterid { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.mes_detail_id)]
    /// </summary>
    [Column("mes_detail_id")]
    public string MesDetailId { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.back_time)]
    /// </summary>
    [Column("back_time")]
    public DateTime? BackTime { get; set; }
    /// <summary>
    /// 所有堆垛机生成任务时库存
    /// [bak_wms_out_order_summary.inventory)]
    /// </summary>
    [Column("inventory")]
    public int? Inventory { get; set; }
    /// <summary>
    /// 此堆垛机生成任务时的库存数
    /// [bak_wms_out_order_summary.crn_inventory)]
    /// </summary>
    [Column("crn_inventory")]
    public int? CrnInventory { get; set; }
    /// <summary>
    /// 创建任务的堆垛机
    /// [bak_wms_out_order_summary.crn_id)]
    /// </summary>
    [Column("crn_id")]
    public long? CrnId { get; set; }
    /// <summary>
    /// [bak_wms_out_order_summary.task_id)]
    /// </summary>
    [Column("task_id")]
    public long? TaskId { get; set; }
}
